package org.feng.datasource.annotation;

import org.feng.datasource.constant.DataSourceConstant;

import java.lang.annotation.*;

/**
 * 改变数据源注解
 *
 * @author feng
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface ChangeDataSource {
    String merchant() default DataSourceConstant.MASTER;
}
